import {http} from '@/utils/http';

/* 获得产品库存分页 */
export const getNoticePage = (params : any) => http({
  url: '/system/notice/page',
  params,
});

export const getNotice = (params : any) => http({
  url: '/system/notice/get',
  params,
});

export const myMessagePage = (params : any) => http({
  url: '/system/notify-message/my-page',
  params,
});

export const updateAllRead = (params : any) => http({
  url: '/system/notify-message/update-all-read',
  params,
  method:"PUT"
});


export const getArticle = (params : any) => http({
  url: '/system/article/get',
  params,
});
